package com.his.registration.service;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

/**
 * @BelongsProject: workspace-idea
 * @BelongsPackage: com.his.registration.service
 * @Author: ZhangYing
 * @Date: 2023/7/7 14:06
 * @Description:
 */
public interface UserService {
    //查询用户
    public int verify(String username,String password);

    //注册
    public int insert(String username,String password);

    //修改密码
    public int update(String username,String password);

    //根据用户名来搜索
    public int selectByUsername(String username);
}
